package com.idheima.zuoye.zuoye1;

public class Test {


    public static void main(String[] args) {
        Person p = new Student("小学生", 18, "北京");
        p.write();
        Person p1 = new Teacher("大老师", 35, "上海");
        p1.write();
    }
}
